// JavaScript Document
function tabs(thisis){
	var ac = thisis.parentNode.parentNode.parentNode;
	var ac_t = ac.getElementsByTagName("li");
	var ac_c = ac.getElementsByClassName("tab_content");
	var ac_i = ac_c[0].getElementsByClassName("tab_inner");
	
	for (i = 0; i < ac_t.length; i++ ){ac_t[i].className = "tab";}
	thisis.className = "tab_act";
	/*var ac_in = ac.parentNode.parentNode.getElementsByClassName("tab_content")[0];*/
	for (i = 0; i < ac_t.length; i++ ){
		if (ac_t[i].className == "tab_act"){
			ac_i[i].className = "tab_inner tab_inner_act";}else{ac_i[i].className = "tab_inner";}
	}
}